/*所有页面main样式*/

main {
    width:1360px;
    margin: 0 auto;
    clear: both;
}


/**********************index.php页面**************************************/

#indexMain {
    display: table;
    width: 80%;
    height: auto;
    min-height: 500px;
    margin: 0 auto;
    position: relative;
    background: white;
    padding-bottom: 50px;
}

/*图片置放区*/

#indexMain #mainImg {
    width: 100%;
}

#indexMain #mainImg img {
    width: 100%;
}


/*最新文章区域*/

#indexMain #newEssay {
    float: left;
    width: 65%;
    border-right:double 5px darkcyan ;
}
/*最新文章  文章推荐标题样式*/
#indexMain #newEssay>h3,#indexMain #reEssay>h3{
    font-family: "幼圆", "黑体";
    letter-spacing: 2px;
    padding: 8px 0;
    border-bottom:double 5px darkcyan ;
}
#indexMain #newEssay>h3>span{
    font-family: "幼圆", "黑体";
    color: red;
}
/*最新文章主体样式*/
#indexMain #newEssayMain ul li{
    width: 100%;
}
#indexMain #newEssayMain ul li h3 {
    font-weight: normal;
    margin-top: 5px;
    padding: 5px 0;
    font-size: 16px;
}
#indexMain #newEssayMain ul li span{
    font-size: 15px;
}
/*文章图片相框与文章简介样式*/
#indexMain #newEssay .img_Text{
    width: 100%;
    float: left;
    padding: 10px 0;
}
#indexMain #newEssay .essayImg{
    width:120px ;
    height: 120px ;
    float: left;
    overflow: hidden;
    border: solid 5px #f2f2f2;
}
#indexMain #newEssay .essayImg>img{
    width: 100%;
    cursor: pointer;
    height: 100%;
    transition: all 1s;
}
/*图片鼠标悬浮效果*/
#indexMain #newEssay .essayImg>img:hover{
    transform: scale(1.08);
}
#indexMain #newEssay .essayText{
    width:550px ;
    height: 120px;
    padding: 3px 10px;
    float: left;
    letter-spacing: 1px;
    font-size: 13px;
    position: relative;
}
/*阅读全文按钮样式*/
#indexMain #newEssay .essayText .readAll{
    display: block;
    position: absolute;
    right: 50px;
    bottom:0;
    width: 80px;
    height: 25px;
    font-size: 12px;
    line-height: 25px;
    text-align: center;
    letter-spacing: 2px;
    border-radius:5px;
    background: #d8f7e8;
    cursor: pointer;
    transition: all 0.5s;
}
/*阅读全文按钮样式特效*/
#indexMain #newEssay .essayText .readAll:hover{
    background: skyblue;
    color: white;
}
/*最新文章底部日期 作者 文章归属样式*/
#indexMain #newEssay .essayBottom{
    clear: both;
    width: 98%;
    height: 25px;
    line-height: 25px;
    background: rgb(242, 242, 242);
}
#indexMain #newEssay .essayBottom span{
    padding: 0 15px;
    font-size: 12px;
    color: #999999;
}
#indexMain #newEssay .essayBottom span a{
    color: #22fa17;
}
#indexMain #newEssay .essayBottom span a:hover{
    color: #3ffa6d;
    font-weight: 700;
}
/*文章推荐区域*/

#indexMain #reEssay {
    width: 375px;
    float: left;
}
/*文章推荐区域标题*/
#indexMain #reEssay>h3>span{
    font-family: "幼圆", "黑体";
    color:springgreen;
}
/*文章推荐区域列表样式*/
#indexMain #reEssay #reEssayUl li{
    height: 25px;
    line-height: 25px;
    padding: 3px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-bottom: dashed 1px black;
}
#indexMain #reEssay #reEssayUl li a{
    font-size: 12px;
}
#indexMain #reEssay #reEssayUl li a b{
    color: red;
    font-weight:600;
    font-size: 12px;
}
#indexMain #reEssay #reEssayUl li a span{
    font-size:smaller;
    float: right;
}
/*链接鼠标悬浮效果-----备：：后期用JS精改，实现文字跳动*/
#indexMain #reEssay #reEssayUl li a:hover{
    color: #00CED1;
}
/*                                         index.php的页面结束                                                                                                     */













































/*************************readEssay页面的main*************************************************/
#readEssay{
    width: 80%;
    margin:20px auto;
    height: auto;
    min-height: 560px;
}
#readEssay #readEssayTitle{
  text-align: center;
}
#readEssay #readEssayTitle>div{
    margin:10px auto;
    width: 50%;
    padding: 5px 0;
    border: dashed 1px black;
}
#readEssay #readEssayTitle>div span{
    font-size:14px;
    padding:0 10px;
    color: #828a91;
}
#readEssay #readEssayTitle>div  span small{
    color: #334bd1;
    font-size:12px;
}
/*文章内容*/
#readEssayMain{
    width: 80%;
    margin: 0 auto;
    padding: 0 10px 15px 10px;
}
#readEssayMain p{
    text-indent: 2em;
    padding: 5px 0;
    line-height: 35px;
}